package mythreads;



public class My{
	
	private void test(Thread thread){
		thread.start();
	}
	
	public void send(){
		this.test(new Thread(){
			@Override
			public void run(){
				System.out.println("Inner Thread");
			}
		});
	}
	
	public static void main(String[] args) {
	       My my = new My();
	       my.send();
		}
}
